package edu.hebtu.mapper;

import edu.hebtu.pojo.Distribution;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//学员分配信息
@Mapper
@Repository
public interface IDistributionMapper {

    //查询
    List<Distribution> findById(String id);

    //按照userId查询
    List<Distribution> findByUserId(String userId);

    //添加
    void add(Distribution object);

    //修改
    void update(Distribution object);

}
